$OpenBSD: patch-source3_wscript,v 1.2 2015/06/20 00:07:13 jca Exp $
Use more generic check for OpenBSD.
--- source3/wscript.orig	Mon Dec  1 13:48:32 2014
+++ source3/wscript	Wed Jun 17 13:18:09 2015
@@ -72,7 +72,7 @@ def configure(conf):
         conf.ADD_CFLAGS('-DDEVELOPER -DDEBUG_PASSWORD')
         conf.env.developer = True
 
-    if sys.platform != 'openbsd5':
+    if not sys.platform.startswith('openbsd'):
         conf.ADD_LDFLAGS("-Wl,--export-dynamic", testflags=True)
 
     conf.CHECK_HEADERS('execinfo.h libexc.h libunwind.h netdb.h')
